package com.lam.schedule.entity.imp;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.lam.common.components.dict.annotation.Dict;
import com.lam.common.validate.annotation.DictValid;

/**
 * 定时调度导入对象 ScheduleJobImp
 * 
 * @author admin
 * @date 2022-07-18
 */

@ColumnWidth(30)
public class ScheduleJobImp {

    /** 任务名称 */
    @ExcelProperty("任务名称")
    private String jobName;
    
    /** 任务分组 */
    @ExcelProperty("任务分组")
    private String jobGroup;
    
    /** 状态 */
    @ExcelProperty("状态")
    @DictValid(message = "无效的状态值")
    @Dict(dictCode = "job_status", reverse = true)
    private String statusDictText;
    
    /** con表达式 */
    @ExcelProperty("con表达式")
    private String cronExpression;
    
    /** 表达式描述 */
    @ExcelProperty("表达式描述")
    private String cronExpDesc;
    
    /** 执行类 */
    @ExcelProperty("执行类")
    private String exeClass;
    
    /** 执行方法 */
    @ExcelProperty("执行方法")
    private String exeMethod;
    
    /** 执行参数 */
    @ExcelProperty("执行参数")
    private String exeParam;
    
    /** 并发类型 */
    @ExcelProperty("并发类型")
    @DictValid(message = "无效的并发类型值")
    @Dict(dictCode = "concurrent_type", reverse = true)
    private String concurrentTypeDictText;
    
    /** 执行错误策略 */
    @ExcelProperty("执行错误策略")
    @DictValid(message = "无效的执行错误策略")
    @Dict(dictCode = "misfire_policy", reverse = true)
    private String misfirePolicyDictText;
    
    /** 记录调度日志 */
    @ExcelProperty("记录日志")
    @DictValid(message = "记录日志值无效")
    @Dict(dictCode = "yn10", reverse = true)
    private String collectLogDictText;
    
    /** 备注信息 */
    @ExcelProperty("备注信息")
    private String remark;
    
    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getJobName() {
        return jobName;
    } 
    
    public void setJobGroup(String jobGroup) {
        this.jobGroup = jobGroup;
    }

    public String getJobGroup() {
        return jobGroup;
    } 
    
    public void setStatusDictText(String statusDictText) {
        this.statusDictText = statusDictText;
    }

    public String getStatusDictText() {
        return statusDictText;
    } 
    
    public void setCronExpression(String cronExpression) {
        this.cronExpression = cronExpression;
    }

    public String getCronExpression() {
        return cronExpression;
    } 
    
    public void setCronExpDesc(String cronExpDesc) {
        this.cronExpDesc = cronExpDesc;
    }

    public String getCronExpDesc() {
        return cronExpDesc;
    } 
    
    public void setExeClass(String exeClass) {
        this.exeClass = exeClass;
    }

    public String getExeClass() {
        return exeClass;
    } 
    
    public void setExeMethod(String exeMethod) {
        this.exeMethod = exeMethod;
    }

    public String getExeMethod() {
        return exeMethod;
    } 
    
    public void setExeParam(String exeParam) {
        this.exeParam = exeParam;
    }

    public String getExeParam() {
        return exeParam;
    } 
    
    public void setConcurrentTypeDictText(String concurrentTypeDictText) {
        this.concurrentTypeDictText = concurrentTypeDictText;
    }

    public String getConcurrentTypeDictText() {
        return concurrentTypeDictText;
    } 
    
    public void setMisfirePolicyDictText(String misfirePolicyDictText) {
        this.misfirePolicyDictText = misfirePolicyDictText;
    }

    public String getMisfirePolicyDictText() {
        return misfirePolicyDictText;
    } 
    
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRemark() {
        return remark;
    }

	public String getCollectLogDictText() {
		return collectLogDictText;
	}

	public void setCollectLogDictText(String collectLogDictText) {
		this.collectLogDictText = collectLogDictText;
	} 
    

}
